<?php
/**
 * @file $HeadURL: imagecollectivetag.php $
 * @author $Author: DongJC (dongjianchang@haibao.com) $
 * @date $Date: 2015-4-8 12:17:18 $
 * @brief 
 */
namespace haibao\cms\model\data\imagecollective;

class ImageCollectiveTag extends \haibao\cms\model\data\Base{
	
	const IS_PRIMAIY = 1;
	const NO_PRIMAIY = 0;
	
	public $ImageCollectiveId ;
	
	public $TagId;
	
	public $IsPrimaiy;
	
	public $ParentId;

	public $TagTree;
	
	public $Url;
	
	public $ImageCollRel = array();
	
	/**
	 * 标签名
	 */
	public $TagName;
	
	public function __construct(){
		
		parent::__construct();
		
		$this->intField('ImageCollectiveId', 'ImageCollectiveId');
		$this->intField('TagId', 'TagId');
		$this->intField('IsPrimaiy', 'IsPrimaiy');
		$this->intField('ParentId', 'ParentId');
		$this->stringField('TagTree', 'TagTree');

		$this->setTableName('ImageCollectiveTag');
	}
	
}